package com.ymm.system.api.utils;

public enum CargoTypeEnum {
    /**
     * 立即用车
     */
    IMMEDIATELY(0, "立即用车"),
    /**
     * 预约用车
     */
    APPOINTMENT(1, "预约用车");

    private Integer code;
    private String message;

    CargoTypeEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public String toString() {
        return "OrderStatusEnum{" +
                "code=" + code +
                ", message='" + message + '\'' +
                '}';
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
